package cn.njxzc.examples;

import java.io.IOException;

import java.io.FileInputStream;

public class Exam9_5 {

	public static void main(String[] args) throws IOException {

		FileInputStream file = new FileInputStream(args[0]);

		int c;

		while ((c = file.read()) != -1)//关键

			System.out.print((char) c);

		file.close();

	}

}